<?php namespace Phpcmf\Controllers\Admin;

class Config extends \Phpcmf\App
{

    public function index() {


        $this->_module_init(APP_DIR);
        if (!$this->module['form']['son']) {
            $this->_admin_msg(0, '没有安装圈贴模块表单');
        }

        dr_redirect(dr_url('mform/module/form_edit', ['dir' => 'quan', 'id' => $this->module['form']['son']['id']]));

    }
	public function pinglun() {
	
	    dr_redirect(dr_url('comment/mform/edit', ['dir' => 'quan-son']));
	
	}
	public function yihe() {
	
	    dr_redirect(dr_url('quan/son_comment/index', ['dir' => '0']));
	
	}
	public function daihe() {
	
	    dr_redirect(dr_url('quan/son_comment_verify/index'));
	
	}
	public function quanxian() {
	
	    dr_redirect(dr_url('member/auth/index', ['dir' => '0']));
	
	}
	public function qiandao() {
	
	    if (!dr_is_app('qiandao')) {
	        $this->_admin_msg(0, '没有安装签到插件，签到插件为付费插件.50元');
	    }
	    dr_redirect(dr_url('qiandao/home/index', ['dir' => '0']));
	
	}
	public function quanziziduan() {
	
	    dr_redirect(dr_url('field/index', ['rname'=>'module','rid' => '5']));
	
	}
	public function quantieziduan() {
	
	    dr_redirect(dr_url('field/index', ['rname'=>'mform-quan','rid' => '1']));
	
	}
	public function guize() {
	
	    dr_redirect(dr_url('module/urlrule/edit', ['id'=>'3']));
	
	}
	public function seo() {
	
	    dr_redirect(dr_url('module/seo_module/index', ['id'=>'0'+'#tab_quan']));
	
	}

	

}
